package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseDriver is a Querydsl bean type
 */
@Label("驾驶员")
public class EBaseDriver extends AbstractIdEntity<String> {

    private static final long serialVersionUID =7931823425736L;    
    @Label("baseCompanyId")
    @Size(max=24)
    private String baseCompanyId;

    @Label("baseFleetId")
    @Size(max=24)
    private String baseFleetId;

    @Label("备注")
    @Size(max=45)
    private String comment;

    @Label("所属企业")
    @Size(max=45)
    private String company;

    @Label("驾驶证号")
    @Size(max=45)
    private String drivingLicence;

    @Label("准驾车型")
    @Size(max=45)
    private String drivingType;

    @Label("flag")
    @Size(max=45)
    private String flag;

    @Label("所属车队")
    @Size(max=45)
    private String fleetId;

    @Label("ID")
    @NotNull(groups={UpdateCheck.class})
    @Size(max=24)
    private String id;

    @Label("身份证号")
    @Size(max=45)
    private String identityCard;

    @Label("驾驶证有效期")
    @Size(max=45)
    private String limitedDate;

    @Label("手机")
    @Size(max=45)
    private String mobile;

    @Label("驾驶员姓名")
    @Size(max=45)
    private String name;

    @Label("onlineTask")
    @Size(max=5)
    private String onlineTask;

    @Label("微信openId")
    @Size(max=100)
    private String openId;

    @Label("密码")
    @Size(max=255)
    private String password;

    @Label("从业资格证编号")
    @Size(max=45)
    private String qualificationNumber;

    @Label("状态")
    @Size(max=45)
    private String status;

    public String getBaseCompanyId() {
        return baseCompanyId;
    }

    public void setBaseCompanyId(String baseCompanyId) {
        this.baseCompanyId = baseCompanyId;
    }

    public String getBaseFleetId() {
        return baseFleetId;
    }

    public void setBaseFleetId(String baseFleetId) {
        this.baseFleetId = baseFleetId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDrivingLicence() {
        return drivingLicence;
    }

    public void setDrivingLicence(String drivingLicence) {
        this.drivingLicence = drivingLicence;
    }

    public String getDrivingType() {
        return drivingType;
    }

    public void setDrivingType(String drivingType) {
        this.drivingType = drivingType;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFleetId() {
        return fleetId;
    }

    public void setFleetId(String fleetId) {
        this.fleetId = fleetId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getLimitedDate() {
        return limitedDate;
    }

    public void setLimitedDate(String limitedDate) {
        this.limitedDate = limitedDate;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOnlineTask() {
        return onlineTask;
    }

    public void setOnlineTask(String onlineTask) {
        this.onlineTask = onlineTask;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getQualificationNumber() {
        return qualificationNumber;
    }

    public void setQualificationNumber(String qualificationNumber) {
        this.qualificationNumber = qualificationNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String toString() {
         return String.format("EBaseDriver { baseCompanyId : %s,baseFleetId : %s,comment : %s,company : %s,drivingLicence : %s,drivingType : %s,flag : %s,fleetId : %s,id : %s,identityCard : %s,limitedDate : %s,mobile : %s,name : %s,onlineTask : %s,openId : %s,password : %s,qualificationNumber : %s,status : %s }",baseCompanyId,baseFleetId,comment,company,drivingLicence,drivingType,flag,fleetId,id,identityCard,limitedDate,mobile,name,onlineTask,openId,password,qualificationNumber,status);
    }

}

